/**
 * Created by Administrator on 2017/3/17.
 */
// 组件初始化异步加载
const login = resolve => require(['views/manager/login'], resolve)

// end
const componentTest = resolve => require(['views/test/component_test'], resolve)

import router from './index'

//路径统一配置前缀manager name前缀加M,如test1.vue应为 MTest1(无论是否和客户端有重复)
export default [
  {
    path: '/manager/login',
    name:'MLogin',
    component:login,
    beforeEnter(to, from, next) {
      next();
    }
  },
  {
    path: '/manager/test',
    name: 'componentTest',
    // desc: 'key: recordId',
    meta: {pageTitle: '健康信息'},
    component: componentTest
  },
]
